﻿using Xejen.Communication.Http.Extensions;
using Xejen.Communication.Http.Abstract;
using Xejen.Communication.Http.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Communication.Http.Extensions
{
    /// <summary>
    /// 表示Http通讯构造器
    /// </summary>
    /// <creator>marc</creator>
    public interface IHttpCommunicatorBuilder : ICommunicatorBuilder<IHttpCommunicatorBuilder>
    {
        /// <summary>
        /// 配置Http选项对象<see cref="HttpConfig"/>
        /// </summary>
        /// <param name="configure">配置行为</param>
        /// <returns></returns>
        IHttpCommunicatorBuilder ConfigureHttpConfiguration(Action<HttpConfig> configure);
    }
}
